import { createHtmlPlugin } from "vite-plugin-html";

const setHtmlTitle = mode => {
  return createHtmlPlugin({
    inject: {
      data: {
        title: mode["VITE_APP_TITLE"]
      }
    }
  });
};

export default setHtmlTitle;
